<template>
	<view class="mainpadding" v-if="pageShow">
		<view class="ffffff mainpadding">
			<view class="flexbetween" :class="index==0?'':'margin_top'" v-for="(item,index) in dataAll.carcs_text" :key="index">
				<view class="ershiba zhonghei">{{item.title}}</view>
				<view class="ershiba xiaohui">{{item.intro}}</view>
			</view>
			<!-- <view class="flexbetween margin_top">
				<view class="ershiba zhonghei">车辆级别</view>
				<view class="ershiba " style="color: #FF5C00;">200km</view>
			</view>
			<view class="flexbetween margin_top">
				<view class="ershiba zhonghei">续航公里</view>
				<view class="ershiba xiaohui">240km</view>
			</view>
			<view class="flexbetween margin_top">
				<view class="ershiba zhonghei">厂商</view>
				<view class="ershiba xiaohui">理想</view>
			</view>
			<view class="flexbetween margin_top">
				<view class="ershiba zhonghei">公里数</view>
				<view class="ershiba xiaohui">200km</view>
			</view>
			<view class="flexbetween margin_top">
				<view class="ershiba zhonghei">车辆级别</view>
				<view class="ershiba" style="color: #FF5C00;">C级</view>
			</view>
			<view class="flexbetween margin_top">
				<view class="ershiba zhonghei">续航公里</view>
				<view class="ershiba xiaohui">200km</view>
			</view> -->
		</view>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				dataAll:{},
				pageShow:false
			}
		},
		onLoad(options) {
			this.listid = options.id
			this.getDetail()
		},
		methods: {
			getDetail() {
				httpRequest.request('/api/carcl/carDetail', 'GET', {
					id: this.listid
				}, false, false, true).then(res => {
					this.dataAll = res.data
					this.pageShow = true
				})
			},
		}
	}
</script>

<style>

</style>